//
//  ZZCCommonPlugin.swift
//  ewgShop
//
//  Created by 帅科 on 2019/8/13.
//  Copyright © 2019 zzc. All rights reserved.
//

import UIKit

class ZZCCommonPlugin: CDVPlugin {
    
    @objc func getAppSystemVersion(commend: CDVInvokedUrlCommand) -> Void {
        print("添加一个插件方法")
        self.commandDelegate.run {
            self.commandDelegate.send(CDVPluginResult.init(status: CDVCommandStatus_OK), callbackId: commend.callbackId);
        };
    }
    
    @objc func getAppVersion(commend: CDVInvokedUrlCommand) -> Void {
        print("添加第二个插件方法")
        self.commandDelegate.run {
            self.commandDelegate.send(CDVPluginResult.init(status: CDVCommandStatus_OK), callbackId: commend.callbackId);
        };
    }
    
    
    
}
